Can"t locate <module>.pm in @INC even though it path exists and worksoutside mod_perl
am 18.12.2010 08:17:43 von ArulJothi--000325575ae64034ab0497aa1560
Content-Type: text/plain; charset=ISO-8859-1
Dear Friends,
I have started using mod_perl recently and facing following difficulties in
terms of running a script which depends on some custom (home grown) modules.
When i execute Apache error log reports that it cannot locate the module in
@INC path even though the path very much exists and i am able to run the
script without any issues outside mod_perl
Basically, Here is my setup
1) Modules are located under /opt/tools/perl/lib
2) @INC containts /opt/tools/perl/lib
- This is also confirmed by http://localhost/perl-status
3) Web perl scripts are located at /var/www/perl and apache is properly
configured
- This is confirmed by executing a script which does not
depend on any external modules
4) Now if i execute a perl script which has "use
fails if this module is located under custom path, but works well for
modules which are intalled with perl distribution
Any clue is appreciated.
Thanks in advance,
Aruljothi.S
--000325575ae64034ab0497aa1560
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Dear Friends,
=A0I have started using mod_perl recently and facing f=
ollowing difficulties in terms of running a script which depends on some cu=
stom (home grown) modules.
=A0When i execute Apache error log report=
s that it cannot locate the module in @INC path even though the path very m=
uch exists and i am able to run the script without any issues outside mod_p=
erl
=A0Basically, Here is my setup
=A01) Modules are located under /=
opt/tools/perl/lib
=A02) @INC containts /opt/tools/perl/lib
=A0=
- This is also confirmed by
//localhost/perl-status">http://localhost/perl-status
=A03) Web perl scripts are located at /var/www/perl and apache is properly =
configured
- This is confirmed by =
executing a script which does not depend on any external modules
=A04) N=
ow if i execute a perl script which has "use <module>;" pra=
gma, it fails if this module is located under custom path, but works well f=
or modules which are intalled with perl distribution
=A0Any clue is appreciated.
Thanks in advance,
Aruljothi.S
>
--000325575ae64034ab0497aa1560--